package comp.style.state
{
	public interface Istate
	{
		/**
		 * 状态名
		 */
		function get stateName():String;
		
		function set stateName(value:String):void;
		
		function get state():int;
		
		function set state(value:int):void;

		/**
		 * 创建状态
		 */
		function create():void;
		
		/**
		 * 执行状态逻辑
		 */
		function doState(par:*):*;
		
		/**
		 * 退出状态
		 */
		function canelState(par:*):*;
	}
}